package com.zhentao.es.controller;

import com.zhentao.es.service.ApUserSearchService;
import com.zhentao.model.common.dtos.ResponseResult;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Date 2024/3/12 11:11
 * @Author xdm
 **/
@RestController
@RequestMapping("/api/v1/history")
public class ApUserSearchController {


    @Autowired
    private ApUserSearchService apUserSearchService;
    @PostMapping("/load")
    public ResponseResult findUserSearch() {
        return apUserSearchService.findUserSearch();
    }
}
